 import request from '@/utils/request'
 import {client} from '@/utils/tools'
 
 // 生成支付二维码
 export function generatePaymentCode(data) {
   return request({
     url: '/payment/generate',
     method: 'post',
     data
   });
 }
 
 // 检查支付状态
 export function checkPaymentStatus(orderId) {
   return request({
     url: '/payment/status',
     method: 'get',
     params: { order_id: orderId }
   });
 }